export class UserAgreement {
    private isAgreed: boolean = false;

    // 获取同意状态
    public getAgreementStatus(): boolean {
        return this.isAgreed;
    }

    // 切换同意状态
    public toggleAgreement(): void {
        this.isAgreed = !this.isAgreed;
    }

    // 判断登录按钮是否可以点击
    public isLoginButtonEnabled(): boolean {
        return this.isAgreed;
    }
}